<!--专家档案-->
<template>
  <view>
    <!--每一项-->
    <view class="order">
      <view class="cu-list" v-for="(item,index) in zjdaData">
        <view class="cu-item cugrid">
          <view class="content">
            <view class="text-grey textgr text-ui">{{item.expertName}}</view>
            <view class="view-mk"> {{index < 9 ? "0" + (index +1) : index + 1}} </view>
            <view class="text-grey textgr text-hg"> {{item.technicalPost}}</view>
            <view class="text-grey textgr text-hg">
              {{item.researchDirection}}
            </view>
          </view>
          <view>
            <view style="margin-right: -10px">
              <u-button
                type="primary"
                class="custom-style"
                color="#225ea4"
                size="mini"
                shape="circle"
              >{{item.delFlag}}年</u-button>
            </view>
          </view>
        </view>
      </view>
    </view>

  </view>
</template>

<script>
	import {zjdaList} from '@/api/my/zjda.js';
export default {
  data() {
    return {
			zjdaData:[],
  }},
  mounted(){
		this.getZjdaList()
  },
  methods: {

		// 专家档案列表数据
		getZjdaList() {
			zjdaList().then((result)=>{
				this.zjdaData = result.data
				// console.log(this.zjdaData)
			}).catch((err)=>{console.log(err)})
		}
  },
};
</script>

<style lang="scss" scoped>
.order {
  width: 710rpx;
  background-color: #ffffff;
  margin: 20rpx auto;
  border-radius: 8rpx;
  box-sizing: border-box;
  padding: 20rpx;
  font-size: 28rpx;
  letter-spacing: 2rpx;
  box-shadow: 0px 3px 10px 0px rgba(148, 177, 188, 0.38);
}

.page {
  height: 100vh;
  width: 100vw;
}

.cu-list.menu-avatar > .cu-item {
  position: relative;
  display: flex;
  padding-right: 10rpx;
  height: 380rpx;
  background-color: #ffffff;
  justify-content: flex-end;
  align-items: center;
  margin-top: 30rpx;
  border-radius: 30rpx;
}

.cu-list.menu-avatar > .cu-item[data-v-0b41208f] {
  position: relative;
  display: flex;
  padding-right: 10rpx;
  height: 380rpx;
  background-color: #ffffff;
  justify-content: flex-end;
  align-items: center;
  margin-top: 30rpx;
  border-radius: 30rpx;
}

.cu-list.menu-avatar > .cu-item .content {
  position: absolute;
  left: 0px;
  width: calc(100% - 52px - 33px - 66px - 11px);
  line-height: 1.6em;
}

.text-grey,
.line-grey,
.lines-grey {
  color: #848484;
}

.text-orange,
.line-orange,
.lines-orange {
  color: #343434;
}

.cu-list > .cu-item {
  transition: all 0.6s ease-in-out 0s;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}

.textgr {
  line-height: 48rpx;
}

.cugrid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.example-body {
  background-color: #fff;
  padding: 10px;
}

.title {
  font-size: 14px;
  font-weight: bold;
  margin: 20px 0 5px 0;
}

.data-pickerview {
  height: 400px;
  border: 1px #e5e5e5 solid;
}

.popper__arrow {
  top: -6px;
  left: 50%;
  margin-right: 3px;
  border-top-width: 0;
  border-bottom-color: #ebeef5;
}

.popper__arrow {
  top: -6px;
  left: 50%;
  margin-right: 3px;
  border-top-width: 0;
  border-bottom-color: #ebeef5;
}

.u-form-item__body {
  display: flex;
  flex-direction: row;
  padding: 4px 0;
  border: 1px solid #e5e5e5;
}

.example-body[data-v-b41e3472] {
  background-color: #fff;
  padding: 22px 14px 18px 16px;
}

.text-ui {
  font-size: 16px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 600;
  color: #343434;
}

.text-hg {
  font-size: 14px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #595959;
}

.cugrid {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.view-mk {
  width: 44px;
  height: 38px;
  background-color: #225ea4;
  border-radius: 0px 21px 20px 0px;
  top: 19px;
  position: absolute;
  left: -23px;
  color: #eee;
  text-align: center;
  line-height: 36px;
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
}

.custom-style {
  color: #ff0000;
}

.cugrid[data-v-531be18f] {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin-right: -20px;
}

uni-button {
  display: inline-block;
  line-height: 2.3;
  font-size: 13px;
  padding: 0 1.34em;
  margin: 6px;
}
</style>
